﻿using MediatR;
using System.ComponentModel.DataAnnotations;

namespace RabitPart.ReadApi.Application.TraceabilityFile
{
    public class TraceabilityShowCommanResponstity 
    {
        /// <summary>
        /// 企业编号
        /// </summary> 
        public int ProductId { get; set; }
        /// <summary>
        /// 商品编号
        /// </summary>
        public string? ProductCode { get; set; }
        /// <summary>
        /// 商品名称
        /// </summary>
        public string? ProductName { get; set; }
        /// <summary>
        /// 生产批次
        /// </summary>
        public string? ProductionBatch { get; set; }
        /// <summary>
        /// 保质期（天）
        /// </summary>
        public int ShelfLife { get; set; }
        /// <summary>
        /// 生产许可证
        /// </summary>
        public string? LicenseNumber { get; set; }
        /// <summary>
        /// 生产企业
        /// </summary>
        public string? Enterprise { get; set; }
        /// <summary>
        /// 创始人
        /// </summary>
        public string? Creator { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateTime { get; set; }
        /// <summary>
        /// 修改人
        /// </summary>
        public string? Updator { get; set; }
        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? UpdateTime { get; set; }
        /// <summary>
        /// 删除人
        /// </summary>
        public string? Deletor { get; set; }
        /// <summary>
        /// 删除时间
        /// </summary>
        public DateTime? DeleteTime { get; set; }
        /// <summary>
        /// 封面图
        /// </summary>
        public string? Url { get; set; }
        public bool IsDelete { get; set; }
    }
}
